package com.jing.cloud.service.buddy.constant;

import com.jing.cloud.util.ErrCode;
import org.springframework.stereotype.Component;

/**
 * Created by 29017 on 2017/9/19.
 */
@Component
public class BuddyErrCode {
    public static final int BUDDY_ADD_REFUSED = 300100001;
    public static final int BUDDY_EXIST = 300100002;
    public static final int BUDDY_MODE_INVALID = 300100003;

    static {
        ErrCode.registerErrCode(BUDDY_ADD_REFUSED, "buddy add refused");
        ErrCode.registerErrCode(BUDDY_EXIST, "buddy exist");
    }
}
